package com.ly.heart.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ly.heart.domain.CustomerVisitDetailEntity;
import com.ly.heart.mapper.CustomerVisitDetailMapper;
import com.ly.heart.service.ICustomerVisitDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 客户拜访申请明细 服务实现类
 * </p>
 *
 * @author WuZH
 * @since 2024-09-29
 */
@Service
public class CustomerVisitDetailServiceImpl extends ServiceImpl<CustomerVisitDetailMapper, CustomerVisitDetailEntity> implements ICustomerVisitDetailService {

    @Resource
    private CustomerVisitDetailMapper customerVisitDetailMapper;

    @Override
    public List<CustomerVisitDetailEntity> list ( CustomerVisitDetailEntity customerVisitDetailEntity ) {
        List<CustomerVisitDetailEntity> customerVisitDetailEntities = customerVisitDetailMapper.selectCustomerVisitDetailEntityList ( customerVisitDetailEntity );
        return customerVisitDetailEntities;
    }
}
